package demo03;

/**
 * @author: WangPeng
 * @createTime: 2022/10/31 17:35
 * @description:
 * @version: v1.0
 */
public class MyTicketTest {
    public static void main(String[] args) {
        MyTicket task1 = new MyTicket();

        Thread t1 = new Thread(task1,"窗口A");
        Thread t2 = new Thread(task1,"窗口B");
        Thread t3 = new Thread(task1,"窗口C");
        Thread t4 = new Thread(task1,"窗口D");

         t1.start();
         t2.start();
         t3.start();
         t4.start();

    }
}
